package com.jiazhong.controller;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet("/emp")
public class EmpController extends BaseController {

    // 添加方法
    public void add(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

        System.out.println("EmpController`add method!");
    }
    // 修改方法
    public void update(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

        System.out.println("EmpController`update method!");
    }
}
